package com.blb.mapper;

import com.blb.pojo.MediaCoverage;
import org.springframework.stereotype.Repository;
/**
 * @author： yrh
 * @Description: 媒体报道数据层接口
* @return: null
 */
import java.util.List;
@Repository
public interface MediaCoverageDao {
    int deleteByPrimaryKey(Integer mediaId);

    int insert(MediaCoverage record);

    int insertSelective(MediaCoverage record);

    MediaCoverage selectByPrimaryKey(Integer mediaId);

    int updateByPrimaryKeySelective(MediaCoverage record);

    int updateByPrimaryKey(MediaCoverage record);

    /**
     *  查询时间
     * @return
     */
    List<String> selectOrTime();

    /*查询所有*/
    List<MediaCoverage> selectAll();
}